From dcc2577b9755342a61ac9cd9b88a09db0e35cc9b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 15 Nov 2017 19:33:26 +0100 Subject: [PATCH] introspection: Fix build --- gtk/gtkmenu.c | 4 ++-- gtk/gtkselection.c | 3 +-- gtk/gtkwindow.h | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c index 51544ab92c..d4307ea398 100644 --- a/gtk/gtkmenu.c +++ b/gtk/gtkmenu.c @@ -4297,8 +4297,8 @@ gtk_menu_select_item (GtkMenuShell *menu_shell, /** * gtk_menu_set_display: * @menu: a #GtkMenu - * @screen: (allow-none): a #GdkDisplay, or %NULL if the display should be - * determined by the widget the menu is attached to + * @display: (allow-none): a #GdkDisplay, or %NULL if the display should be + * determined by the widget the menu is attached to * * Sets the #GdkDisplay on which the menu will be displayed. * diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index 8d6f503aa1..339eef1f95 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -974,8 +974,7 @@ gtk_selection_add_target (GtkWidget *widget, * gtk_selection_add_targets: * @widget: a #GtkWidget * @selection: the selection - * @targets: (array length=ntargets): a table of targets to add - * @ntargets: number of entries in @targets + * @targets: the targets to add * * Prepends a table of targets to the list of supported targets * for a given widget and selection. diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 19d07f5b53..47f82636db 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -275,7 +275,7 @@ GDK_AVAILABLE_IN_ALL GList* gtk_window_get_icon_list (GtkWindow *window); GDK_AVAILABLE_IN_ALL void gtk_window_set_icon (GtkWindow *window, - GdkTexture *texture); + GdkTexture *icon); GDK_AVAILABLE_IN_ALL void gtk_window_set_icon_name (GtkWindow *window, const gchar *name); -- 2.30.2